/*
 * @Author: cgl
 * @Date: 2023-06-15 18:13:45
 * @LastEditors: cgl
 * @LastEditTime: 2023-06-15 18:15:36
 * @FilePath: \public-health-emergencies-fed:\radiation-hygiene-fe\src\api\resourse\equipmentType.js
 * @Description: 
 * 
 * Copyright (c) 2023 by cgl/微盛信息产业有限公司, All Rights Reserved. 
 */
import request from '@/utils/request'

// 查询设备类型列表
export function equipmentTypeList(data) {
  return request({
    url: '/basic/equipment/type/list',
    method: 'post',
    data,
  })
}
// 仪器类型列表
export function instrumentTypeListing(params) {
  return request({
    url: '/basic/equipment/type/listing',
    method: 'get',
    params,
  })
}
// 导出设备类型列表
export function equipmentTypeExport(params) {
  return request({
    url: '/basic/equipment/type/export',
    method: 'post',
    params,
  })
}
// 获取设备类型详细信息
export function equipmentTypeDetail(equipmentTypeId) {
  return request({
    url: '/basic/equipment/type/getInfo/' + equipmentTypeId,
    method: 'post',
    params,
  })
}
// 新增设备类型
export function equipmentTypeAdd(data) {
  return request({
    url: '/basic/equipment/type/add',
    method: 'post',
    data,
  })
}
// 修改设备类型
export function equipmentTypeEdit(data) {
  return request({
    url: '/basic/equipment/type/edit',
    method: 'post',
    data,
  })
}
// 删除设备类型
export function equipmentTypeRemove(equipmentTypeIds) {
  return request({
    url: '/basic/equipment/type/remove/' + equipmentTypeIds,
    method: 'get',
  })
}